* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.2;
}

ul {
    list-style: none;
}

.clearfix::after {
    /* 设置添加的内容，空为了让用户看不见。 */
    content: '';
    /* 控制添加的伪元素是块级元素 */
    display: block;
    /* 清除浮动 */
    clear: both;
    /* 为了让用户看不见。 */
    visibility: hidden;
    height: 0;
    font-size: 0;
}

.clearfix {
    /* css hack  星号表示IE7以下的浏览器，主要为了兼容IE6 */
    *zoom: 1;
}

.shop-cart {
    width: 990px;
    margin: 10px auto;
    /* border: 1px solid red; */
    user-select: none;
}

.tabs {
    height: 35px;
}

.tabs .border {
    border-bottom: 2px solid #e6e6e6;
    position: relative;
}

.tabs .border .line {
    display: inline-block;
    width: 123px;
    height: 2px;
    background: #ff4400;
    position: absolute;
    bottom: -2px;
    left: 0;
    /* 缓动函数=》贝塞尔曲线https://cubic-bezier.com/#.17,.67,.83,.67 */
    transition: left .5s ease;
}

.tabs .border .title {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 20px 10px 20px;
    cursor: pointer;
}

.tabs .border .title.active {
    color: #ff4400;
}

.tabs .border .title span {
    font-size: 14px;
    color: #ff4400;
}

.tabs .border .title:not(.last)::after {
    content: "";
    display: inline-block;
    ;
    width: 1px;
    height: 12px;
    transform: scale(.5, 1);
    background: #e6e6e6;
    position: relative;
    left: 20px;
}

.lists .header ul {
    height: 50px;
    line-height: 50px;
}

.lists .header ul li {
    float: left;
    color: #3c3c3c;
}

.lists .header ul li:not(.product-info) {
    width: 125px;
}

.lists .header ul li.product-info {
    width: calc(990px - (125px * 5));
}

.lists .shop .shop-info {
    height: 50px;
    line-height: 50px;
}

.lists .shop .shop-info .shop-tip::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 18px;
    background-image: url(../img/icons.png);
    background-repeat: no-repeat;
    background-position: -20px -125px;
    position: relative;
    top: 3px;
    margin: 0 5px;
}

.lists .shop .shop-info .shop-name {
    color: #3c3c3c;
    text-decoration: none;
}

.lists .shop .shop-info .shop-name:hover {
    text-decoration: underline;
    color: #ff4400;
}

.lists .shop .shop-info .wangwang {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-indent: -10000px;
    overflow: hidden;
    background-image: url(../img/ww.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    left: 10px;
    top: 4px;
}

.lists .shop .products {
    border: 1px solid #ccc;
}

.lists .shop .products .item {
    display: flex;
    padding: 20px 10px;
    border-bottom: 1px solid #eee;
}

.lists .shop .products .item .select-logo {
    display: flex;
}

.lists .shop .products .item .select-logo img {
    width: 80px;
    height: 80px;
    margin-left: 10px;
}

.lists .shop .products .item .product-detail {
    width: calc(990px - (125px * 5));
    display: flex;
}

.lists .shop .products .item .product-detail .left {
    width: calc(990px - (125px * 5) - 190px);
    position: relative;
}

.lists .shop .products .item .product-detail .left .product-name {
    text-decoration: none;
    color: #3c3c3c;
    /* https://www.daqianduan.com/6179.html */
    /* 多行加省略号 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.lists .shop .products .item .product-detail .left .product-name:hover {
    text-decoration: underline;
    color: #ff4400;
}

.lists .shop .products .item .product-detail .left .logos {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.lists .shop .products .item .product-detail .left .logos a {
    text-decoration: none;
    overflow: hidden;
    text-indent: -10000px;
    display: inline-block;
    width: 16px;
    height: 16px;
}

.lists .shop .products .item .product-detail .left .logos a.card {
    background-image: url(../img/xcard.png);
    height: 11px;
}

.lists .shop .products .item .product-detail .left .logos a.service {
    background-image: url(../img/flower.png);
}

.lists .shop .products .item .product-detail .left .logos a.order {
    background-image: url(../img/order.png);
}

.lists .shop .products .item .product-detail .left .logos a.seven {
    background-image: url(../img/seven.png);
}

.lists .shop .products .item .product-detail .right {
    width: 190px;
    color: #9c9c9c;
    padding: 0 20px;
}

.lists .shop .products .item>div:not(.product-detail) {
    width: 125px;
}

.lists .shop .products .item .price p {
    margin: 3px 0;
}

.lists .shop .products .item .price p.market-price {
    color: #9c9c9c;
    text-decoration: line-through;
}

.lists .shop .products .item .price p.real-price {
    color: #000;
    font-weight: 700;
}

.lists .shop .products .item .count {
    font-size: 0;
}

.lists .shop .products .item .count span {
    display: inline-block;
    height: 23px;
    line-height: 20px;
    font-size: 14px;
    text-align: center;
}

.lists .shop .products .item .count span.sub, .lists .shop .products .item .count span.add {
    background-color: #f0f0f0;
    color: #000;
    width: 17px;
    border: 1px solid #e5e5e5;
}

.lists .shop .products .item .count span.sub:hover, .lists .shop .products .item .count span.add:hover {
    color: #ff4400;
    border-color: #ff4400;
}

.lists .shop .products .item .count span.input {
    border: 1px solid #aaa;
}

.lists .shop .products .item .count span.input input {
    width: 40px;
    height: 21px;
    text-align: center;
    border: none;
}

.lists .shop .products .item .amount {
    color: #ff4400;
    font-weight: bold;
    font-size: 14px;
}

.lists .shop .products .item .delete a {
    color: #3c3c3c;
    text-decoration: none;
}

.lists .shop .products .item .delete a:hover {
    text-decoration: underline;
    color: #ff4400;
}

.operate {
    height: 50px;
    background-color: #e5e5e5;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #3c3c3c;
    position: sticky;
    bottom: 0;
    left: 0;
}

.operate .left {
    padding-left: 10px;
}

.operate .left a {
    text-decoration: none;
    color: #3c3c3c;
    margin-left: 30px;
}

.operate .left a:hover {
    text-decoration: underline;
    color: #ff4400;
}

.operate .right {
    display: flex;
    justify-content: end;
    align-items: center;
}

.operate .right .amount {
    margin-left: 40px;
}

.operate .right .selected-count, .operate .right .sum {
    color: #ff4400;
    font-size: 18px;
    font-weight: 600;
    margin: 0 5px;
}

.operate .right a {
    height: 50px;
    line-height: 50px;
    width: 120px;
    background-color: #b0b0b0;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
}

.operate .right a.active {
    background-color: #ff4400;
}

.operate .right a.active:hover {
    background-color: #f22d00;
}